package com.asen.commons.core.meta.dao;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 查询记录限制
 *
 * @author ls
 * @version 1.0
 * @date 2024-04-09
 */
@Data
@NoArgsConstructor
public class LimitItem {

    /**
     * 偏移量
     */
    private Integer offset;

    /**
     * 行数
     */
    private Integer rows;

    public LimitItem(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
    }
}
